<template>
  <div class="publish">
    <nav-bar></nav-bar>
    <scroll class="content">
      <router-view></router-view>
    </scroll>
  </div>
</template>

<script>
  // 公共组件
  import NavBar from "components/content/navBar/NavBar";
  import Scroll from "components/content/scroll/Scroll";

  export default {
    name: "Publish",
    components: {
      NavBar,
      Scroll
    }
  }
</script>

<style scoped>
  .publish {
    margin: 64px auto 0;
  }

  .content {
    width: 100%;
    height: calc(100vh - 64px);
    background-color: #fff;
  }
</style>
